package com.example.demo.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("job")
public class JobController {

    @GetMapping
    public String searchJob(){

        System.out.println("完成了搜索岗位任务！");
        System.out.println("解决了搜索岗位的bug！");
        return "search ok!";
    }

    @GetMapping
    public String addJob(){

        System.out.println("完成了应聘岗位任务！");
        System.out.println("解决应聘岗位bug！");
        return "add ok!";
    }

    @GetMapping
    public String jobAiAgent(){

        System.out.println("完成Ai agent！");
        return "ok";
    }
}


